<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加选课信息</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f9;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        h1 {
            text-align: center;
            color: #333;
            margin-bottom: 20px;
        }
        form {
            background-color: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
        }
        input[type="text"] {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            box-sizing: border-box;
        }
        input[type="text"]:focus {
            border-color: #007bff;
            outline: none;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
        }
        input[type="submit"] {
            width: 100%;
            padding: 12px;
            background-color: #007bff;
            color: #fff;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        input[type="submit"]:hover {
            background-color: #0056b3;
        }
        .form-group {
            margin-bottom: 15px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #555;
        }
    </style>
</head>
<body>
    <form method="post" action="/add/choice">
        <h1>添加选课信息</h1>
        <div class="form-group">
            <label for="no">序号</label>
            <input type="text" id="no" name="no" placeholder="请输入序号">
        </div>
        <div class="form-group">
            <label for="tid">教师编号</label>
            <input type="text" id="tid" name="tid" placeholder="请输入教师编号">
        </div>
        <div class="form-group">
            <label for="sid">学生学号</label>
            <input type="text" id="sid" name="sid" placeholder="请输入学生学号">
        </div>
        <div class="form-group">
            <label for="cid">课程编号</label>
            <input type="text" id="cid" name="cid" placeholder="请输入课程编号">
        </div>
        <div class="form-group">
            <label for="score">成绩</label>
            <input type="text" id="score" name="score" placeholder="请输入成绩">
        </div>
        <input type="submit" value="添 加">
    </form>
</body>
</html>